package com.stars.home.adapter

import com.chad.library.adapter.base.viewholder.BaseDataBindingHolder
import com.stars.home.R
import com.stars.home.databinding.ItemCashListBinding
import com.stars.home.model.DriverProfit
import com.stars.home.vmodel.CashListVModel
import com.trailer.base.base.BAdapter

class CashListAdapter(var vm: CashListVModel) : BAdapter<DriverProfit, BaseDataBindingHolder<ItemCashListBinding>>(R.layout.item_cash_list) {

    override fun convert(holder: BaseDataBindingHolder<ItemCashListBinding>, item: DriverProfit) {
        holder.dataBinding?.vm = vm
        holder.dataBinding?.item = item


    }
}
